package com.eclab.hello.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @Author yd
 * @Date 2018/10/17 09:24
 */
@Getter
@AllArgsConstructor
public enum ResultEnum {
   PARAM_ERROR(1,"参数错误"),
   USER_NOT_FOUND(2,"用户不存在"),
   USERNAMEANDPASSWORD_ERROR(3,"用户名和密码不能为空"),
   PASSWORD_ERROR(4,"密码错误"),
   REQUEST_SUCCESS(5,"查询成功"),

    ;

   private Integer code;

   private String message;


}
